package com.iflysse.services;

import com.iflysse.pojo.bo.req.KnowledgePointBoReq;
import com.iflysse.pojo.bo.req.QuestionIdListBoReq;
import com.iflysse.pojo.bo.resp.QuestionBoResp;
import com.iflysse.pojo.bo.resp.QuestionListBoResp;
import com.iflysse.pojo.bo.resp.QuestionPlainListBoResp;
import com.iflysse.pojo.po.req.QuestionIdBoReq;

import java.sql.SQLException;

public interface QuestionService {
    /**
     * 根据第3级知识点获取问题,知识点等级:0,1,2
     * @param knowledgePointBoReq
     * @return
     */
    QuestionPlainListBoResp loadQuestionByL2KnowledgePoint(KnowledgePointBoReq knowledgePointBoReq) throws SQLException;


    /**
     * 根据问题编号获取问题
     * @param questionIdBoReq
     * @return
     */
    QuestionBoResp getQuestionByQuestionId(QuestionIdBoReq questionIdBoReq) throws SQLException;

    /**
     * 根据问题编号列表获取问题集合
     * @param questionIdListBoReq
     * @return
     */
    QuestionListBoResp getQuestionByQuestionIdList(QuestionIdListBoReq questionIdListBoReq) throws SQLException;


}
